package com.ssyt.store.sys.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssyt.store.common.EasyUIPageModel;
import com.ssyt.store.sys.dao.SysLogDao;
import com.ssyt.store.sys.entity.SysLogEntity;
import com.ssyt.store.sys.service.SysLogService;

@Service
public class SysLogServiceImpl implements SysLogService {

	@Autowired
	private SysLogDao sysLogDao;


	@Override
	public EasyUIPageModel<SysLogEntity> listLogs(int page, int rows) {
		return sysLogDao.listLogs(page, rows);
	}


	@Override
	public void addLogs(String operation,String userId) {
		sysLogDao.addLogs(operation,userId);
		
	}

}
